using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using Renci.Data.Interop.OpenGIS.Gml_32;

namespace Cuahsi.Data.Interop.WaterML2
{
    [XmlInclude(typeof(CategoricalTimeseriesType))]
    [XmlInclude(typeof(MeasurementTimeseriesType))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://www.opengis.net/waterml/2.0")]
    [XmlRoot("Timeseries", Namespace = "http://www.opengis.net/waterml/2.0", IsNullable = false)]
    [DataContract(Name = "TimeseriesType", Namespace = "http://www.opengis.net/waterml/2.0")]
    public abstract partial class TimeseriesType : AbstractFeatureType
    {

        private TimeseriesMetadataPropertyType metadataField;

        private List<TVPDefaultMetadataPropertyType> defaultPointMetadataField;

        public TimeseriesType()
        {
            this.defaultPointMetadataField = new List<TVPDefaultMetadataPropertyType>();
            this.metadataField = new TimeseriesMetadataPropertyType();
        }

        [DataMember()]
        public TimeseriesMetadataPropertyType metadata
        {
            get
            {
                return this.metadataField;
            }
            set
            {
                this.metadataField = value;
            }
        }

        [XmlElement("defaultPointMetadata")]
        [DataMember()]
        public List<TVPDefaultMetadataPropertyType> defaultPointMetadata
        {
            get
            {
                return this.defaultPointMetadataField;
            }
        }
    }
}